package com.cp.helper.dao.impl;

import com.cp.helper.bean.ProjectItem;
import com.cp.helper.dao.BaseDaoSupport;
import org.springframework.stereotype.Repository;

/**
 * @描述:自动生成的ProjectItem
 * @Author : chenpeng
 * @Date : 2015-10-22 20:58:13
 */
@Repository
public class ProjectItemDao extends BaseDaoSupport<ProjectItem> {
    public ProjectItemDao() {
        super.setClassName("ProjectItem");
    }

    //根据主键更新特定值
    public Integer updateProjectIdById(ProjectItem projectItem) {
        return this.getSqlMapClientTemplate().update("ProjectItem.updateProjectIdById", projectItem);
    }

    public Integer updateItemNameById(ProjectItem projectItem) {
        return this.getSqlMapClientTemplate().update("ProjectItem.updateItemNameById", projectItem);
    }

    public Integer updateStatusFlagById(ProjectItem projectItem) {
        return this.getSqlMapClientTemplate().update("ProjectItem.updateStatusFlagById", projectItem);
    }


}
